package com.orderplus.opshop.core.constants;

/**
 * created by wangzelong 2019/1/8 15:09
 */
public final class MessageConstant {
	public static final String SUCCESS = "成功";

	public static final String UNAUTHORIZED = "未授权";
	public static final String LOGIN_FAIL = "登录失败,用户名或密码错误";
	public static final String LOGIN_FROZEN = "用户被冻结,请联系超管!";
	public static final String FAIL = "服务器异常";
	public static final String URI_NOT_FOUNT = "访问的地址不存在";
	public static final String METHOD_NOT_ALLOWED = "该接口不支持当前访问方式";
	public static final String PARAM_EXECPTION = "参数异常";

	public static final String CODE_UNKNOWN = "业务判空异常";
	public static final String UNKNOWN_EXCEPTION = "未知异常";
	public static final String BUSSINESS_EXCEPTION = "业务异常";
	public static final String CAN_NOT_CANCEL_ORDER = "无法取消订单";
	public static final String DATA_NOT_NULL = "参数不能为空";
	public static final String DATA_NOT_LACK = "缺少参数";
	public static final String ADMIN_EXIXTS = "用户名已存在";
	public static final String DONT_DELETE = "当前状态无法删除";
	public static final String LOGIN_EXPIRE = "登录已过期";
	public static final String COUNTRY_CODE_IS_NULL = "国家代码不能为空";
	public static final String PAY_PAL_REFUND_EXCEPTION = "PAYPAL退款异常";
	public static final String PHONE_NUMBER_ALREADY_EXISTS = "电话号码已存在";

	public static final String OPERATION_FAILED = "操作失败";
	public static final String SYSTEM_ROLE = "系统内置角色,无法删除";
	public static final String ROLE_HAVE_ADMIN = "当前角色还存在管理员,是否删除?";
	public static final String DATA_HAVA_CHILD = "存在下级数据,无法删除!";
	public static final String DONT_ADD = "无法添加!";
	public static final String IS_SAVE_DONT_ADD = "已存在相同商品,无法添加!";
	public static final String ENV_OR_CONFIG_NOT_FOUND = "参数或环境变量未找到";
	public static final String KEY_IS_EXITS = "key已存在";
	public static final String RESOURCE_PERMISSION_EXITS = "资源唯一标识重复";

	public static final String ORDER_EXCEPTION = "订单异常";

}
